﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="CalendarManage_Notepad" Codebehind="Notepad.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
	无标题页
</title><link href="../css.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="../Celend/popcalendar.js"></script>


</head>
<body>
    <form name="form1"  runat="server" id="form1">
<div>
    &nbsp;</div>

    <table border="0" cellpadding="0" cellspacing="0" bordercolor="#111111" width="100%">
				<tr height="30">
					<td width="3%" background="../Images/topbg.jpg" align=center><IMG height="16" src="../../Images/icon/right.GIF"></td>
					<td background="../Images/topbg.jpg" width="80"><b>我的日记</b></td>
					<TD background="../Images/topbg.jpg" align="right">
					</TD>
				</tr>
			</table>
			<table width=100% cellpadding=2 cellspacing=1 border=0>
    <tr>
    <td align=center valign=top style="height: 45px">
    <table width=100% cellpadding=0 cellspacing=0 border=0>
    <tr>
    <td align=center style="height: 25px">
        </td>
    </tr>
    </table>
           发布时间： &nbsp;   <asp:TextBox ID="TextBox1" runat="server" Width="110px" CssClass="TxCss" Height="17px"></asp:TextBox>    
   <img id="Image_blqx1" style="CURSOR: hand; width: 23px; height: 15px;" onclick="popUpCalendar(this,document.forms[0].TextBox1,'yyyy-mm-dd')" src="../Celend/Images/calendar.gif" />到
        <asp:TextBox ID="TextBox2" runat="server" Width="106px" CssClass="TxCss" Height="17px"></asp:TextBox>   
     <img id="Img1" style="CURSOR: hand; width: 23px; height: 15px;" onclick="popUpCalendar(this,document.forms[0].TextBox2,'yyyy-mm-dd')" src="../Celend/Images/calendar.gif" />
       <input type="submit" name="bnQuery" value="查  询" id="bnQuery" class="BnCss" onclick="return bnQuery_onclick()" onserverclick="bnQuery_ServerClick" runat="server" />
        &nbsp;&nbsp;</td>
    </tr>
    <tr>
    <td align=left style="height: 108px">
        <div>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="NotepaperID" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting" Width="849px" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" OnSelectedIndexChanging="GridView1_SelectedIndexChanging">
                <Columns>
                    <asp:BoundField DataField="Title" HeaderText="日记主题" />
                    <asp:BoundField DataField="addtime" HeaderText="发布时间" />
                    <asp:CommandField HeaderText="查看" SelectText="查看" ShowSelectButton="True" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                </Columns>
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <RowStyle ForeColor="#000066" />
                <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            </asp:GridView>
            &nbsp;</div>
    </td>
    </tr>
    </table>
    
<div>
    &nbsp;</div></form>
</body>
</html>
